<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<jsp:useBean id="bean" class="com.lmpop.frame.util.RandomID" scope="page" />
<%
	String key_id = bean.GenTradeId();
%>
<html>
  <head>
    <title>新增关键字</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="key.js" charset="UTF-8"></script>
	<script type="text/javascript" src="/program/admin/js/judgment.js" charset="UTF-8"></script>
</head>

<body>
	<h1>新增关键字</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	
	<table width="100%" cellpadding="1" cellspacing="1" border="0" class="listtab">
		
		<tr>
			<td align="right" width="10%">
				关键字<font color="red">*</font>
			</td>
			<td><input name="key_word" id="key_word" type="text" maxlength="20" onkeyup="inputNoHorns(this)"   onbeforepaste= "inputNoHorns(this); " /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				搜索频率<font color="red">*</font>
			</td>
			<td><input name="location" id="location" maxlength="8" type="text" onKeyUp="if(!/^[1-9][0-9]*$/.test(this.value))this.value=''" maxlength="10" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				类型<font color="red">*</font>
			</td>
			<td>
				<select name="key_type" id="key_type">
					<option value="">请选择</option>
					<option value="0">商品</option>
					<option value="1">卖家</option>
					<option value="2">资讯</option>
				</select>
			</td>
		</tr>
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="1568" />
				<input name="key_id" id="key_id" type="hidden" value="<%=key_id%>" />
				<input type="submit" class="buttoncss" name="tradeSub" value="提交" onclick="return submitValues()" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="返回" onclick="window.location.href='index.jsp';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
